package pojo;

/**
 * 供应商实体类
 */
public class Provider {
    private Long id;
    private String providerNumber;
    private String providerName;
    private String contactName;
    private String tel;
    private String otherContactWay;
    private String address;
    private Double payMoney;
    private Double prePay;
    private String remark;
    private Integer status;

    public Provider(Long id, String providerNumber, String providerName, String contactName, String tel, String otherContactWay, String address, Double payMoney, Double prePay, String remark, Integer status) {
        this.id = id;
        this.providerNumber = providerNumber;
        this.providerName = providerName;
        this.contactName = contactName;
        this.tel = tel;
        this.otherContactWay = otherContactWay;
        this.address = address;
        this.payMoney = payMoney;
        this.prePay = prePay;
        this.remark = remark;
        this.status = status;
    }

    public Provider() {
    }

    @Override
    public String toString() {
        return "Provider{" +
                "id=" + id +
                ", providerNumber='" + providerNumber + '\'' +
                ", providerName='" + providerName + '\'' +
                ", contactName='" + contactName + '\'' +
                ", tel='" + tel + '\'' +
                ", otherContactWay='" + otherContactWay + '\'' +
                ", address='" + address + '\'' +
                ", payMoney=" + payMoney +
                ", prePay=" + prePay +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProviderNumber() {
        return providerNumber;
    }

    public void setProviderNumber(String providerNumber) {
        this.providerNumber = providerNumber;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getOtherContactWay() {
        return otherContactWay;
    }

    public void setOtherContactWay(String otherContactWay) {
        this.otherContactWay = otherContactWay;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Double payMoney) {
        this.payMoney = payMoney;
    }

    public Double getPrePay() {
        return prePay;
    }

    public void setPrePay(Double prePay) {
        this.prePay = prePay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
